From 5aa6b4306ee87f3589028c48acb644845915ee5e Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 21 Oct 2005 10:17:29 +0100 Subject: [PATCH] Turn off some debug switches by default These macros cause extra prints in /var/log/xend-debug, and affect the performance. Signed-off-by: Xiaofeng Ling --- tools/ioemu/exec-all.h | 4 ++-- tools/ioemu/hw/i8259.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ioemu/exec-all.h b/tools/ioemu/exec-all.h index e32207b7c3..ac0533982d 100644 --- a/tools/ioemu/exec-all.h +++ b/tools/ioemu/exec-all.h @@ -573,7 +573,7 @@ static inline target_ulong get_phys_addr_code(CPUState *env, target_ulong addr) } #endif -#define DEBUG_UNUSED_IOPORT -#define DEBUG_IOPORT +//#define DEBUG_UNUSED_IOPORT +//#define DEBUG_IOPORT #define TARGET_VMX diff --git a/tools/ioemu/hw/i8259.c b/tools/ioemu/hw/i8259.c index 17dd549c53..8009eea130 100644 --- a/tools/ioemu/hw/i8259.c +++ b/tools/ioemu/hw/i8259.c @@ -29,7 +29,7 @@ //#define DEBUG_PIC //#define DEBUG_IRQ_LATENCY -#define DEBUG_IRQ_COUNT +//#define DEBUG_IRQ_COUNT extern void pit_reset_vmx_vectors(); -- 2.30.2